<?php

class BonusWithdrawalPageLink extends Extension {
	function getBonusWithdrawal(){
        $page = BonusWithdrawalPage::get()->find('ClassName', 'BonusWithdrawalPage');
        if($page) return $page;
    }
    
    function getBonusWithdrawalLink() {
        $page = $this->getBonusWithdrawal();
        if($page) return $page->Link();
    }
	
    function getBonusWithdrawalStatement(){
        $page = BonusWithdrawalStatementPage::get()->find('ClassName', 'BonusWithdrawalStatementPage');
        if($page) return $page;
    }
    
    function getBonusWithdrawalStatementLink() {
        $page = $this->getBonusWithdrawalStatement();
        if($page) return $page->Link();
    }
}
